package six;

public class space extends flat{
	public int z;

	@Override
	public String toString() {
		return "space [z=" + z + ", x=" + x + ", y=" + y + "]";
	}
	public void XYZ(int x,int y,int z) {
	super.XY(x, y);
	this.z = z;
	}
	public void getPos() {
		System.out.println("("+x+","+y+","+z+")");

	}
}
